home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
presto
/
presto10.lha
/
src
/
pstream.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-12-11
|
598b
|
34 lines
#ifdef notdef
/*
* pstream.c:
*
* Beginnings of rudimentary I/O code
*
*/
#include <stream.h>
#include "pstream.h"
PSTREAM_SHARED char pcout_buf[BUFSIZE];
PSTREAM_SHARED filebuf pcout_file(stdout); // UNIX output stream 1
PSTREAM_SHARED ostream pcout(&pcout_file);
PSTREAM_SHARED char pcerr_buf[1];
PSTREAM_SHARED filebuf pcerr_file(stderr); // UNIX output stream 2
PSTREAM_SHARED ostream pcerr(&pcerr_file);
PSTREAM_SHARED filebuf pcin_file(stdin); // UNIX input stream 0
PSTREAM_SHARED istream pcin(&pcin_file,1,&pcout); // cin tied to cout
void
usepstream()
{
return;
}
#endif